package com.fastCms.business.bim.daos;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fastCms.business.bim.pojo.entity.Fileds;
import com.fastCms.business.bim.pojo.vo.DeviceFiledsVO;
import com.fastCms.business.bim.pojo.vo.DeviceFiledsValueVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 设备类型表 Mapper 接口
 * </p>
 *
 * @author liusq
 * @since 2021-05-24
 */

@Repository
public interface FiledsMapper extends BaseMapper<Fileds> {

    List<DeviceFiledsVO> getDeviceFields(@Param("deviceTypeId") Integer deviceTypeId);

    List<DeviceFiledsValueVO> getDeviceFieldsValue(@Param("deviceTypeId") Integer deviceTypeId, @Param("deviceId") Integer deviceId);

}
